package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.util.Date;
import java.util.List;


@Data
/**
 * 客诉工单对象 ks_order
 *
 * @author hjf
 * @date 2025-07-10
 */
public class KsOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    private String ksId;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private String orderId;

    //1待处理2处理中3待审核4已完结5已关闭
    @Excel(name = "状态")
    private Integer state;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * 问题描述
     */
    @Excel(name = "问题描述")
    private String content;

    /**
     * 来源:1微信2抖音飞鸽3内部投诉热线4运营商投诉热线5国家职能监管部门
     */
    @Excel(name = "来源:1微信2抖音飞鸽3内部投诉热线4运营商投诉热线5国家职能监管部门")
    private Integer source;

    /**
     * 1正常2紧急
     */
    @Excel(name = "1正常2紧急")
    private Integer emergency;

    /**
     * 客诉类型:1赠款赔偿2变更套餐3装机移机4取消协议5拆机销户
     */
    @Excel(name = "客诉类型:1赠款赔偿2变更套餐3装机移机4取消协议5拆机销户")
    private Integer ksType;
    @Transient
    private List<String> myCreateTime;

    @Transient
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date latestReplyTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date wanJieTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date closeTime;
    @Transient
    private String titleAndTime;
    @Transient
    private String handleTime;
    @Transient
    private Long auditUser;
    @Transient
    private String synthesize;
    private Long supportId;
    private Integer supportIsRes;
}
